package com.ultrawise.bank.implement.dao;

import com.ultrawise.bank.base.dao.IDataDeleteTools;
import com.ultrawise.bank.base.dao.IDataInsertTools;
import com.ultrawise.bank.base.dao.IDataQueryTools;
import com.ultrawise.bank.base.dao.IDataUpdataTools;

public abstract class DataAccessModel {
	
	//创建针对某种数据源的访问模型对象
	public static  DataAccessModel newInstances()
	{
		return new XMLAccessModel(); 
	}

	public abstract IDataInsertTools createInsertTools();
	
	public abstract IDataDeleteTools createDeleteTools();
	
	public abstract IDataUpdataTools createUpdataTools();
	
	public abstract IDataQueryTools createQueryTools();

}
